package com.aruba.bulethoothdemoapplication.adapter;

import androidx.annotation.NonNull;
import androidx.databinding.ViewDataBinding;
import androidx.recyclerview.widget.RecyclerView;

/**
 * Created by aruba on 2022/4/25.
 */
public class BindingViewHolder extends RecyclerView.ViewHolder{
    private ViewDataBinding binding;

    public BindingViewHolder(@NonNull ViewDataBinding binding) {
        super(binding.getRoot());
        this.binding = binding;
    }

    public ViewDataBinding getBinding() {
        return binding;
    }
}
